package com.gqr.threadcoreknowledge.createthreads;

/*
* 用Thread方式实现线程
* */
public class ThreadStyle extends Thread{
    @Override
    public void run() {
        System.out.println("用Thread类实现线程");
    }

    public static void main(String[] args) {
        ThreadStyle t1 = new ThreadStyle();
        t1.start();
    }
}
